package com.wxy.school.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 王祥宇
 * @projectName school
 * @packageName com.wxy.school.entity
 * @data 2023/4/18 11:14
 * @description: TODO
 * @version: 1.0
 */
@Data
public class SignUp implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    private Long id;

    @ExcelProperty(value = "姓名", index = 1)
    private String signUpName;

    @ExcelProperty(value = "联系方式", index = 7)
    private String signUpPhone;

    @ExcelProperty(value = "班级", index = 3)
    private String signUpClass;

    @ExcelProperty(value = "身份证号", index = 4)
    private String signUpIdCard;

    @ExcelIgnore
    private Integer signUpSex;

    @ExcelProperty(value = "政治面貌", index = 8)
    private String signUpPolitical;

    @ExcelProperty(value = "民族", index = 9)
    private String signUpNation;

    @ExcelProperty(value = "出生年月日", index = 10)
    private String signUpBirthday;

    @ExcelProperty(value = "健康状况", index = 11)
    private String signUpHealthy;

    @ExcelProperty(value = "自我简介", index = 12)
    private String signUpIntroduction;

    @ExcelIgnore
    private Long jobId;

    @ExcelIgnore
    private Long userId;

    @ExcelProperty(value = "微信号", index = 5)
    private String  signUpWeChat;

    @ExcelProperty(value = "QQ号", index = 6)
    private String signUpQQ;

    @ExcelProperty(value = "学号", index = 0)
    private String signUpStuCard;

    @ExcelIgnore
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime signUpTime;

}
